/**
 * Copyright 2023 Inc.
 **/
package com.myz.springclond2021.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author maoyz0621 on 2023/10/7
 * @version v1.0
 */
@Data
@ConfigurationProperties(prefix = "thread")
public class DynamicThreadPoolProperties {

    private Boolean enabled = true;

    private Integer corePoolSize = 10;

    private Integer maxPoolSize = 10;
}